Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci.yml: update vmactions/freebsd to v1 #421

Closed
wants to merge 1 commit into from

Conversation

perillo
Copy link
Contributor

@perillo perillo commented Mar 11, 2024

v1 is the most recommended to use and runs on ubuntu-latest instead of macos-12.

v1 is the most recommended to use and runs on ubuntu-latest instead of
macos-12.
Copy link

codecov bot commented Mar 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.81%. Comparing base (1e1002e) to head (7419243).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #421      +/-   ##
==========================================
+ Coverage   65.75%   65.81%   +0.06%     
==========================================
  Files          58       58              
  Lines        4520     4520              
  Branches     4177     4177              
==========================================
+ Hits         2972     2975       +3     
+ Misses       1548     1545       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SimonKagstrom
Copy link
Owner

Thanks!

Yes, I have another branch where I'm trying to get this working: https://github.com/SimonKagstrom/kcov/tree/fix-freebsd-python2-tests, which also uses v1 now.

However, for some reason, the bash tests no longer works with this one...

@perillo
Copy link
Contributor Author

perillo commented Mar 11, 2024

Thanks!

Yes, I have another branch where I'm trying to get this working: https://github.com/SimonKagstrom/kcov/tree/fix-freebsd-python2-tests, which also uses v1 now.

However, for some reason, the bash tests no longer works with this one...

I suspected that you also have patches ready. But why not ubuntu-latest ?

Also, the error from FreeBSD is from "Copy files back from the VM", where there is an error due to a symlink

skipping non-regular file "kcov/kcov/tests/python/link_main"

When "Initialize files in VM" I see

kcov/kcov/tests/python/link_main -> main

but in this case there is error.

@perillo
Copy link
Contributor Author

perillo commented Mar 11, 2024

However, for some reason, the bash tests no longer works with this one...

I suspect the reason is that the default shell in FreeBSD may be tcsh. So /bin/sh can use tcsh instead of a POSIX shell. But this does not explain why it worked in the past.

@SimonKagstrom
Copy link
Owner

It turned out to be a problem with file descriptor numbers. I fixed it with e27cb33 in the PR, which basically just disables it for FreeBSD. I don't think it's a very big issue.

Probably broke with the newer FreeBSD I guess.

As for ubuntu-latest, I'm sort of worried that the FreeBSD build will break again when 24.04 is released soonish. :-)

@SimonKagstrom
Copy link
Owner

Anyway, I'll close this PR since pretty much the same change is also part of #422, but thanks a lot for the discussion and insights!

@perillo
Copy link
Contributor Author

perillo commented Mar 11, 2024

Thanks to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants